package com.dt.jpa.bean;

import org.springframework.data.elasticsearch.annotations.Document;

import org.springframework.data.annotation.Id;
import java.io.Serializable;


@Document(indexName = "userindex", type = "userinfoes")
public class UserInfoES implements Serializable {
    @Id
    private String userId;

    private String userName;

    private String userPassword;

    public String getUserId() {
        return userId;
    }

    public UserInfoES setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getUserName() {
        return userName;
    }

    public UserInfoES setUserName(String userName) {
        this.userName = userName;
        return this;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public UserInfoES setUserPassword(String userPassword) {
        this.userPassword = userPassword;
        return this;
    }
}

